package cn.majingjing.tm.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * ${DESCRIPTION}
 *
 * @author JingjingMa
 * @create 2017-11-24 13:34
 */
@Configuration
@RefreshScope
public class BeanConfig {

	@Value("${tm.name}")
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
